package com.cxrj.zhsq.administrate.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.cxrj.zhsq.administrate.entity.Personnel;
import com.cxrj.zhsq.administrate.entity.Property;
import com.cxrj.zhsq.administrate.entity.Vehicle;

public interface AdministrateService {

	public Map<String, Object> selectPersonnelPager(HttpServletRequest request, HttpServletResponse response);
	
	public Map<String, Object> selectPropertyPager(HttpServletRequest request, HttpServletResponse response);
	
	public Map<String, Object> selectVehiclePager(HttpServletRequest request, HttpServletResponse response);
	
	public Map<String, Object> selectPersonnelById(String id, HttpServletRequest request);
	
	public Map<String, Object> selectPropertyById(String id, HttpServletRequest request);
	
	public Map<String, Object> selectVehicleById(String id, HttpServletRequest request);
	
	public Map<String, Object> insertAndUpdatePersonnel(Personnel personnel);
	
	public Map<String, Object> insertAndUpdateProperty(Property property);
	
	public Map<String, Object> insertAndUpdateVehicle(Vehicle vehicle);
	
	public Map<String, Object> insertAppUser(String id);
}
